<#assign className = table.classNameBo>
<#assign classNameLower = className?uncap_first>
<#assign classNameAllLower = table.classNameBo?lower_case>
<#assign idJava = table.idColumn?uncap_first>
<#assign idJavaType = table.idColumn.javaType>
package com.hp.up.backend.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.ui.ModelMap;
import com.hp.up.business.service.${className}Service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ${basepackage}.core.Entity.${className};

import java.util.List;
import com.alibaba.fastjson.JSON;

@Controller
@RequestMapping("/${module}/${classNameAllLower}")
public class ${className}Controller extends BaseController<${className}>{

	private static final Logger logger = LoggerFactory.getLogger(${className}Controller.class);

	@Autowired
	private ${className}Service ${classNameLower}Service;


}
